package com.yanqu.road.entity.activity.youxing;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_c_xing_you_team_map_data", desc = "行游山水-队伍地图数据")
public class CrossXingYouShanShuiTeamMapData extends DataObject {

    @FieldTypeAnnotation(select = true, update = true, desc = "活动ID")
    private int activityId;

    @FieldTypeAnnotation(update = true, desc = "分组id")
    private int groupId;

    @FieldTypeAnnotation(update = true, desc = "队伍ID")
    private int teamId;

    @FieldTypeAnnotation(update = true, desc = "地图位置")
    private int mapIndex;

    @FieldTypeAnnotation(update = true, desc = "地图位置-格子类型")
    private int gridId;

    @FieldTypeAnnotation(desc = "建筑等级")
    private int buildLv;

    @FieldTypeAnnotation(desc = "挑战的玩家")
    private long tzUserId;

    @FieldTypeAnnotation(desc = "更新时间")
    private long updateTime;

    @FieldTypeAnnotation(desc = "闭园剩余次数")
    private int closeTimes;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        if(this.activityId != activityId) {
            this.activityId = activityId;
            setUpdateOption();
        }
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        if(this.groupId != groupId) {
            this.groupId = groupId;
            setUpdateOption();
        }
    }

    public int getTeamId() {
        return teamId;
    }

    public void setTeamId(int teamId) {
        if(this.teamId != teamId) {
            this.teamId = teamId;
            setUpdateOption();
        }
    }

    public int getMapIndex() {
        return mapIndex;
    }

    public void setMapIndex(int mapIndex) {
        if(this.mapIndex != mapIndex) {
            this.mapIndex = mapIndex;
            setUpdateOption();
        }
    }

    public int getGridId() {
        return gridId;
    }

    public void setGridId(int gridId) {
        if(this.gridId != gridId) {
            this.gridId = gridId;
            setUpdateOption();
        }
    }

    public int getBuildLv() {
        return buildLv;
    }

    public void setBuildLv(int buildLv) {
        if(this.buildLv != buildLv) {
            this.buildLv = buildLv;
            setUpdateOption();
        }
    }

    public long getTzUserId() {
        return tzUserId;
    }

    public void setTzUserId(long tzUserId) {
        if(this.tzUserId != tzUserId) {
            this.tzUserId = tzUserId;
            setUpdateOption();
        }
    }


    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        if(this.updateTime != updateTime) {
            this.updateTime = updateTime;
            setUpdateOption();
        }
    }

    public int getCloseTimes() {
        return closeTimes;
    }

    public void setCloseTimes(int closeTimes) {
        if(this.closeTimes != closeTimes) {
            this.closeTimes = closeTimes;
            setUpdateOption();
        }
    }


}
